<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{

    protected function _initAutoload () {
		Zend_Loader_Autoloader::getInstance()->setFallbackAutoloader(true);
//		$oAcl = new Model_Acl();
//		$oAuth = Zend_Auth::getInstance();
//
//		$oFc = Zend_Controller_Front::getInstance();
//		$oFc->registerPlugin(new Plugin_AccessCheck($oAcl, $oAuth));




    }

    protected function _initApp () {
		define('ROOT_DIR', APPLICATION_PATH . "/..");
		define('SITE_DOMAIN', $_SERVER['HTTP_HOST']);
    }

//    protected function _initViewHelpers () {
//	$this->bootstrap('layout');
//	$layout = $this->getResource('layout');
//	$view = $layout->getView();
//    }

}

